from django.db import models

# Create your models here.
class dynamic(models.Model):
    title = models.CharField(verbose_name='标题',max_length=50,default='无标题')
    img = models.CharField(verbose_name='图片地址',max_length=100)
    url = models.CharField(verbose_name='动态地址',max_length=100)
    time = models.DateTimeField(verbose_name='发布时间')
    author = models.CharField(verbose_name='发布者',max_length=50)
class inform(models.Model):
    title = models.CharField(verbose_name='标题',max_length=50,default='无标题')
    url = models.CharField(verbose_name='通知地址',max_length=100)
    time = models.DateTimeField(verbose_name='发布时间')
    author = models.CharField(verbose_name='发布者', max_length=50)
class system(models.Model):
    title = models.CharField(verbose_name='标题',max_length=50,default='无标题')
    url = models.CharField(verbose_name='制度地址',max_length=100)
    time = models.DateTimeField(verbose_name='发布时间')
    author = models.CharField(verbose_name='发布者', max_length=50)